<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../static/h-ui/css/H-ui.min.css"/>
    <link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/css/H-ui.admin.css"/>
    <link rel="stylesheet" type="text/css" href="../../lib/Hui-iconfont/1.0.8/iconfont.css"/>
    <link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/skin/default/skin.css" id="skin"/>
    <link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/css/style.css"/>
    <link rel="stylesheet" type="text/css" href="../../ht-css/Project.css"/>
    <!--[if IE 6]>
    <script type="text/javascript" src="../../lib/DD_belatedPNG_0.0.8a-min.js?rev=@@hash"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../ht-css/style-q.css"/>
    <link rel="stylesheet" type="text/css" href="../../ht-css/custom.css"/>

    <title>发券详情</title>
    <style>.chaxun {
        position: relative;
        bottom: 50px;
        right: 158px
    }</style>
</head>
<body>
<nav class="breadcrumb">电子券管理 <span class="c-gray en">&gt;</span>发券查询<span class="c-gray en">&gt;</span>发券详情<a
        class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px"
        href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<section class="page-container">
    <form class="ml-20 mr-20" id="form-member-add" method="post">
        <div>
            <div class="bg-1 bk-gray pd-20 mb-20">
                <div class="row cl pd-10">
                    <div class="col-md-3" style="margin-left:55px;">
                        <label class="form-label f-l">发券编号：</label>
                        <div class="formControls col-md-7" id="sendCouponCode"></div>
                    </div>
                    <div class="col-md-3">
                        <label class="form-label f-l">名称：</label>
                        <div class="formControls col-md-7" id="sendCouponName"></div>
                    </div>
                    <div class="col-md-2">
                        <label class="form-label f-l">发券人：</label>
                        <div class="formControls col-md-7" id="sendCouponUser"></div>
                    </div>
                    <div class="col-md-3">
                        <label class="form-label f-l">发券部门：</label>
                        <div class="formControls col-md-7" id="sendCouponDept"></div>
                    </div>
                </div>
                <div class="row cl pd-10">
                    <div class="col-md-3">
                        <label class="form-label f-l wd_140" style="width: 114px;">发券原因：</label>
                        <div class="formControls " style="display: inline-block" id="sendReasonDutyDept"></div>
                        <div class="formControls " style="display: inline-block" id="sendCouponReason"></div>
                    </div>
                </div>
                <div class="row cl pd-10">
                    <div class="clearfix col-md-12">
                        <label class="f-l pt-5 wd_140" style="width: 113px;">描述：</label>
                        <div class="formControls col-md-5"><textarea id="description" name="abstract" class="textarea"
                                                                     title="" readonly></textarea></div>
                    </div>
                </div>
                <div class="row cl pd-10">
                    <label class="form-label f-l ml-20">发券方式：</label>
                    <select id="sendCouponType" style="width:13%" class="select f-l" size="1">
                        <option value="1" disabled>手动发券</option>
                        <option value="2" disabled>自动发券</option>
                        <option value="3" disabled>客户领取</option>
                        <option value="4" disabled>抽奖发送</option>
                    </select>
                </div>
                <div class="row cl pd-10" id="twoOrThree">
                    <label class="form-label f-l text-r w-60 lh-26" style="width:80px;"><span class="c-red c-must">*</span>发放客户：</label>
                    <div class="formControls f-l ml-10 lh-26">
                        <label id="customerTypef0"><input type="checkbox" value="20,30" name="customerType0" id="customerType" disabled/>全部&nbsp;&nbsp;</label>
                        <label><input type="checkbox" value="20" name="customerType" id="customerType3" disabled/>普通客户&nbsp;&nbsp;</label>
                        <label><input type="checkbox" value="30" name="customerType" id="customerType4" disabled/>认证客户&nbsp;&nbsp;</label>
                        <!--<label id="customerTypef1"><input type="checkbox" value="11" name="customerType" id="customerType1" disabled/>签约客户(非分销)&nbsp;&nbsp;</label>
                        <label id="customerTypef2"><input type="checkbox" value="12" name="customerType" id="customerType2" disabled/>签约客户(分销)&nbsp;&nbsp;</label>-->
                    </div>
                </div>
                <div class="row cl pd-10" id="two" style="display: none">
                    <label class="form-label f-l text-r w-60 lh-26" style="width:81px;"><span class="c-red c-must">*</span>发放条件：</label>
                    <select id="sendCondition" style="width:13%" class="select f-l" size="1">
                        <option value="" selected>请选择发放条件</option>
                        <option value="1" disabled>新注册客户</option>
                        <option value="2" disabled>满足订单金额条件</option>
                        <option value="3" disabled>客户中奖后自动发放</option>
                        <option value="4" disabled>按照客户的价格类型</option>
                    </select>
                </div>
                <div class="clearfix mb-15 pd-10 skin-minimal"  id="pricetype">
                    <label class="f-l pt-5"><span class="c-red pr-5 f-l">*</span>适用价格类型：</label>
                    <div class="check-box f-l mt-5" style="display: none" id="priceTypes">
                        <input type="radio" id="priceType0"  name="priceType" value="0" disabled>
                        <label  class="" >不限</label>
                    </div>
                    <div class="check-box f-l mt-5">
                        <input type="radio" id="priceType1" name="priceType" value="20" disabled>
                        <label  class="" >现金价</label>
                    </div>
                    <div class="check-box f-l mt-5">
                        <input type="radio" id="priceType2" name="priceType" value="10" disabled>
                        <label  class="" >售价</label>
                    </div>
                </div>
                <div class="row cl pd-10" id="two-1" style="padding-left: 65px;">
                    <label class="form-label f-l text-r w-60 lh-26 pl-15" style="width: 82px;">订单金额满：</label>
                    <div class="formControls col-md-2"><input type="text" class="input-text radius"
                                                              name="orderAmount" id="orderAmount" placeholder=""
                                                              maxlength="50"></div>
                </div>
                <div class="row cl pd-10" id="two-2" style="padding-left: 65px;">
                    <label class="form-label f-l text-r w-60 lh-26 pl-15" style="width:83px;">适用仓：</label>
                    <div class="formControls f-l ml-10 lh-26">
                        <label><input type="checkbox" value="" name="warehouse0" id="wareHouse" disabled
                                      onclick="warehouseCheck()"/>全部&nbsp;&nbsp;</label>
                        <span id="checkboxwareHous"> </span>
                    </div>
                </div>
                <div class="row cl pd-10" id="two-3" style="padding-left: 65px;">
                    <label class="form-label f-l text-r w-60 lh-26 pl-15" style="width: 84px;">适用支付方式：</label>
                    <div class="formControls f-l ml-10 lh-26">
                        <label><input type="checkbox" value="1001" name="payType" id="payType1" disabled/>在线支付&nbsp;&nbsp;</label>
                        <label><input type="checkbox" value="1301" name="payType" id="payType2" disabled/>银行转账&nbsp;&nbsp;</label>
                        <label><input type="checkbox" value="1401" name="payType" id="payType3" disabled/>银行汇票&nbsp;&nbsp;</label>
                        <label><input type="checkbox" value="1101" name="payType" id="payType4" disabled/>货到付款&nbsp;&nbsp;</label>
                        <label><input type="checkbox" value="1201" name="payType" id="payType5" disabled/>账期支付&nbsp;&nbsp;</label>
                        <label><input type="checkbox" value="1701" name="payType" id="payType6" disabled/>门店付款&nbsp;&nbsp;</label>
                    </div>
                </div>
                <div class="row cl pd-10" id="time">
                    <label class="form-label f-l label-4" style="width: 77px;"><span class="c-red c-must">*</span>生效日期：</label>
                    <div class="f-l">
                        <!--<input type="text" onfocus="WdatePicker({ maxDate:'#F{$dp.$D(\'logmax\')||\'%y-%M-%d\'}' })" id="logmin" class="input-text Wdate radius f-l" style="width:120px;" placeholder="请选择时间">-->
                        <input type="text"
                               onfocus="WdatePicker({ maxDate:'#F{$dp.$D(\'logmax\')||\'%y-%M-%d\'}',startDate:'%y-%M-01 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss'})"
                               id="logmin" class="input-text Wdate radius f-l" style="width:140px;" placeholder="请选择时间"
                               autocomplete="off" disabled>
                        <span class="f-l pd-5">~</span>
                        <input type="text"
                               onfocus="WdatePicker({ minDate:'#F{$dp.$D(\'logmin\')}',dateFmt:'yyyy-MM-dd HH:mm:ss' })"
                               id="logmax" class="input-text Wdate radius f-l" style="width:140px;" placeholder="请选择时间"
                               autocomplete="off" disabled>
                        <label class="form-label f-l label-4" id="word" style="display: none;width: 80px;">不限</label>
                    </div>
                </div>
                <div id="securities" style="display: none">
                <div class="va-m lh-20 f-16 pb-15 mt-20">
                    <strong>发券客户</strong>
                </div>
                <div class="line"></div>
                <div class="row cl pd-10">
                    <div class="row cl">
                        <div class="col-md-5 ml-50 mt-10 mb-20">
                            <a class="btn btn-primary-outline radius wd-56" style="margin-left: 348px;"
                               id="putout">导出</a>
                        </div>
                    </div>

                    <div class="row cl ml-50" style="width:60%" >
                        <table class="table table-border table-bordered table-hover table-sort table-bg"
                               style="width:100%" id="datatable">
                            <thead>
                            <tr class="text-c">
                                <th width="240">客户ID</th>
                                <th width="240">客户类型</th>
                                <th width="180">客户名称</th>
                                <th width="240">所属区域</th>
                                <!--<th width="180">注册时间</th>-->
                            </tr>
                            </thead>
                            <tbody class="shun">
                            </tbody>
                        </table>
                    </div>
                </div>
                </div>
                <div class="va-m lh-20 f-16 pb-15 mt-20">
                    <strong>选择电子券主题</strong>
                </div>
                <div class="line"></div>
                <div class="row cl pd-15">
                    <div class="row cl ml-50" style="width:90%" id="topic-1">
                        <table class="table table-border table-bordered table-hover table-sort table-bg"
                               style="width:100%" id="datatable1">
                            <thead>
                            <tr class="text-c">
                                <th width="100">券类型</th>
                                <th width="120">电子券主题编号</th>
                                <th width="120">电子券主题名称</th>
                                <th width="90">面额</th>
                                <th width="150">有效期</th>
                                <th width="100">状态</th>
                                <th width="100">剩余数量</th>
                                <th width="100">发放数量</th>
                            </tr>
                            </thead>
                            <tbody class="shun">
                            </tbody>
                        </table>

                    </div>
                    <div class="row cl pd-20 ml-50" id="topic-2">
                        <table id="datatable2" class="table table-border table-bordered table-hover table-sort table-bg"
                               style="width:90%;margin-left:75px;">
                            <thead>
                            <tr class="text-c">
                                <th width="100">券类型</th>
                                <th width="120">电子券主题编号</th>
                                <th width="120">电子券主题名称</th>
                                <th width="90">面额</th>
                                <th width="150">有效期</th>
                                <!--<th width="100">状态</th>-->
                                <th width="100">剩余数量</th>
                                <th width="100">发放数量</th>
                                <th width="100">发放总数量</th>
                            </tr>
                            </thead>
                            <tbody class="shun">
                            </tbody>
                        </table>
                    </div>
                    <div id="checkInfo">
                        <div class="va-m lh-20 f-16 pb-15 mt-20">
                            <strong>审核信息</strong>
                        </div>
                        <div class="line"></div>
                        <div class="row cl pd-15">
                            <div class="row cl ml-50" style="width:90%">
                                <table class="table table-border table-bordered table-hover table-sort table-bg"
                                       style="width:100%" id="datatable3">
                                    <thead>
                                    <tr class="text-c">
                                        <th>序号</th>
                                        <th>审核人</th>
                                        <th>审核时间</th>
                                        <th>审核结果</th>
                                        <th>审核说明</th>
                                    </tr>
                                    </thead>
                                    <tbody class="shun">
                                    </tbody>
                                </table>

                            </div>
                            <!-- <div class="row cl pd-20" style="margin-left: 380px">
                                 <div class="text-r pagination wd_700 ml-50">
                                     <a href="javascript:;" class="page active">1</a>
                                     <a href="javascript:;" class="page">2</a>
                                     <a href="javascript:;" class="page">3</a>
                                     <a href="javascript:;" class="page">4</a>
                                     <a href="javascript:;" class="page">5</a>
                                     <a href="javascript:;" class="page">…</a>
                                     <a href="javascript:;" class="page">250</a>

                                     <a href="javascript:;" class="next_btn"></a>
                                     <span>跳转至第 <input type="text" class="input-text radius page_text" name=""  placeholder="">页</span>

                                     <input class="btn btn-primary radius ml-10" type="button" value="确定">
                                 </div>
                             </div>-->

                        </div>
                    </div>


                </div>
            </div>
        </div>
    </form>
</section>
</body>
<script type="text/javascript" src="../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script> <!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<!--表单验证-->
<script type="text/javascript" src="../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
<script src="../../ht-js/frame/doT.min.js?rev=@@hash"></script>
<script src="../../ht-js/public.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../ht-js/verifyToken.js?rev=@@hash"></script>
<script src="../../ht-js/Project.js?rev=@@hash"></script>
<script src="../../ht-js/coupon/coupon-query-check.js?rev=@@hash"></script>
<script src="../../ht-js/dynamicWarehouse.js?rev=@@hash"></script>
<script>
    $('#reset').click(function () {
        $('input').val('');
    });
</script>
</html>